package cn.itcast.bos.service.base;

import cn.itcast.bos.domain.take_delivery.Order;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

/**
 * @author dsfdsfds
 */
public interface OrderService {
    /**
     * 保存订单
     * @param order
     */
    @Path("/order")
    @POST
    @Consumes({"application/xml","application/json"})
    public void saveOrder (Order order);

    public  Order findOrderByOrderNum(String orderNum);
}
